package com.zuxia.iDao;

import java.util.Date;
import java.util.List;

import com.zuxia.po.Positioninfo;
import com.zuxia.po.Recruitinfo;
import com.zuxia.util.PageModel;

public interface RecruitinfoDAOI {

	public abstract void save(Recruitinfo transientInstance);

	public abstract void delete(Recruitinfo persistentInstance);

	public abstract Recruitinfo findById(java.lang.Integer id);

	public abstract List findByExample(Recruitinfo instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByRiicount(Object riicount);

	public abstract List findAll();

	public abstract Recruitinfo merge(Recruitinfo detachedInstance);

	public abstract void attachDirty(Recruitinfo instance);

	public abstract void attachClean(Recruitinfo instance);
	
	//有返回值的的添加方法
	public abstract Boolean add(Recruitinfo recruitinfo);
	//查询需求是否存在
	public abstract Boolean ptIidShowRecruitinfo(int ptIid); 
	
	//查询所有
	public abstract List showRecruitinfo(String ptIname);
	
	//分页查询
	public abstract PageModel<Recruitinfo> showRecruitinfo(String ptIname,int pageNumber, int limit);
	
	//删除
	public abstract Boolean deleteRecruitinfo(int riid);
	
	//查询一个Recruitinfo对象
	public abstract Recruitinfo riidShowRecruitinfo(int riid);
	
	//修改需求
	public Boolean updateRecruitinfo(int riid,String riaddress,int riicount,Date riiendTime,String rirequirement);
}